package cn.kgc.ebookvue02.service;

import cn.kgc.ebookvue02.pojo.Entry;
import com.github.pagehelper.PageInfo;

/**
 * @author shkstart
 * @create 2020-05-18 21:59
 */
public interface EntryService {

    //分页  根据类型id查询
    public PageInfo<Entry> selectEntryPageinfo(Integer pageNum,Integer pageSize,Integer categoryId);

    //增加
    public  Integer addEntry(Entry entry);
    //删除
    public Integer  deleteEntry(Integer id);

    //根据id查询
    public  Entry selectById(Integer id);
    //修改
    public  Integer updateEntry(Entry entry);

}
